package top.waterduck.server.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author: duck
 **/

@AllArgsConstructor
public enum BusinessExceptionCodeEnum {
    MEMBER_NOT_EXIST("会员不存在"),
    USER_LOGIN_NAME_EXIST("用户名已存在"),
    USER_LOGIN_ERROR("用户名或密码不存在"),
    MEMBER_LOGIN_ERROR("手机号不存在或密码错误"),
    MOBILE_CODE_TOO_FREQUENT("短信请求过于频繁"),
    MOBILE_CODE_ERROR("短信验证码不正确"),
    MOBILE_CODE_EXPIRED("短信验证码不存在或已过期,请重新发送短信"),
    ;
    @Getter
    @Setter
    private String desc;
}
